<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewExpedienteTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewExpedienteLabel_codExp}"/>
                    <h:outputText value="#{expedienteController.selected.codExp}" title="#{bundle.ViewExpedienteTitle_codExp}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_fechaReg}"/>
                    <h:outputText value="#{expedienteController.selected.fechaReg}" title="#{bundle.ViewExpedienteTitle_fechaReg}">
                        <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                    </h:outputText>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_numexpeIngr}"/>
                    <h:outputText value="#{expedienteController.selected.numexpeIngr}" title="#{bundle.ViewExpedienteTitle_numexpeIngr}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_asunto}"/>
                    <h:outputText value="#{expedienteController.selected.asunto}" title="#{bundle.ViewExpedienteTitle_asunto}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_folios}"/>
                    <h:outputText value="#{expedienteController.selected.folios}" title="#{bundle.ViewExpedienteTitle_folios}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_remitente}"/>
                    <h:outputText value="#{expedienteController.selected.remitente}" title="#{bundle.ViewExpedienteTitle_remitente}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_detalleExpe}"/>
                    <h:outputText value="#{expedienteController.selected.detalleExpe}" title="#{bundle.ViewExpedienteTitle_detalleExpe}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_fkCodificador}"/>
                    <h:outputText value="#{expedienteController.selected.fkCodificador}" title="#{bundle.ViewExpedienteTitle_fkCodificador}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_observac}"/>
                    <h:outputText value="#{expedienteController.selected.observac}" title="#{bundle.ViewExpedienteTitle_observac}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_proveido}"/>
                    <h:outputText value="#{expedienteController.selected.proveido}" title="#{bundle.ViewExpedienteTitle_proveido}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_interesArea}"/>
                    <h:outputText value="#{expedienteController.selected.interesArea}" title="#{bundle.ViewExpedienteTitle_interesArea}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_tipoTramite}"/>
                    <h:outputText value="#{expedienteController.selected.tipoTramite}" title="#{bundle.ViewExpedienteTitle_tipoTramite}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_tipoDocTra}"/>
                    <h:outputText value="#{expedienteController.selected.tipoDocTra}" title="#{bundle.ViewExpedienteTitle_tipoDocTra}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_trabajador}"/>
                    <h:outputText value="#{expedienteController.selected.trabajador}" title="#{bundle.ViewExpedienteTitle_trabajador}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_tipoPriorida}"/>
                    <h:outputText value="#{expedienteController.selected.tipoPriorida}" title="#{bundle.ViewExpedienteTitle_tipoPriorida}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_inmuebles}"/>
                    <h:outputText value="#{expedienteController.selected.inmuebles}" title="#{bundle.ViewExpedienteTitle_inmuebles}"/>
                    <h:outputText value="#{bundle.ViewExpedienteLabel_estado}"/>
                    <h:outputText value="#{expedienteController.selected.estado}" title="#{bundle.ViewExpedienteTitle_estado}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{expedienteController.destroyAndView}" value="#{bundle.ViewExpedienteDestroyLink}"/>
                <br />
                <br />
                <h:link outcome="Edit" value="#{bundle.ViewExpedienteEditLink}"/>
                <br />
                <h:commandLink action="#{expedienteController.prepareCreate}" value="#{bundle.ViewExpedienteCreateLink}" />
                <br />
                <h:commandLink action="#{expedienteController.prepareList}" value="#{bundle.ViewExpedienteShowAllLink}"/>
                <br />
                <br />
                <h:link outcome="/index" value="#{bundle.ViewExpedienteIndexLink}"/>

            </h:form>
        </ui:define>
    </ui:composition>

</html>
